package org.lansir.af.dataview;

public class DataViewTrustyItem extends DataViewItem {
	private int iType;
	private String sName;
	private String sMemberId;
	
	public int getType() {
		return iType;
	}
	public void setType(int iType) {
		this.iType = iType;
	}
	public String getName() {
		return sName;
	}
	public void setName(String sName) {
		this.sName = sName;
	}
	public String getMemberId() {
		return sMemberId;
	}
	public void setMemberId(String sMemberId) {
		this.sMemberId = sMemberId;
	}
	@Override
	public boolean equals(Object o) {
		DataViewTrustyItem item = (DataViewTrustyItem)o;
		return this.sMemberId.equals(item.getMemberId());
	}
	@Override
	public int hashCode() {
		return this.sMemberId.hashCode();
	}
	
	
}
